﻿@model IRIS.Models.ContactFormModel

@{
    ViewBag.Title = "Hafa Samband";
}

 @if (!ViewData.ModelState.IsValid)
        {
            <div class="error" >
                @Html.ValidationSummary(false)
            </div>
        }
 @using (Html.BeginForm())
    
    {
       
         <fieldset>
       <legend>Hafa Samband</legend>
       <div class="Nafn">
                Nafn:
       </div>
       <div class="editor-field">
        @Html.TextBoxFor(m => m.Nafn)              
       </div>

        <div class="Email">
                Email
        </div>
        <div class="editor-field">
          @Html.TextBoxFor(m => m.Email)
         </div>

         <div class="editor-label">
                Fyrirspurn
         </div>
         <div class="editor-field">
               @Html.TextAreaFor(m => m.Fyrirspurn)
         </div>


      <p>
      <input type="submit" value="Senda Fyrirspurn" />
      </p>
      </fieldset>
    }







